/*
 * @Author: 梁 卓
 * @Version: V1.0.0
 * @Date: 2024-02-04 19:37:14
 * @LastEditors: 梁 卓
 * @LastEditTime: 2024-02-17 22:53:58
 * @FilePath: home.js
 * Copyright 2024 Marvin, All Rights Reserved. 
 * 2024-02-04 19:37:14
 * @Description: 
 */
import request from '@/utils/request'


export function getTenTypicalProductPrice() {
  return request({
    url: '/system/home/typical',
    method: 'get'
  })
}

export function getUpAndDownRanking() {
  return request({
    url: '/system/home/upDown',
    method: 'get'
  })
}
// 不带有图片
export function listProduct(query) {
  return request({
    url: '/system/product/list',
    method: 'get',
    params: query
  })
}

// 有图片
export function listMarket(query) {
  return request({
    url: '/system/market/list',
    method: 'get',
    params: query
  })
}

export function listNewsPricet(query) {
  return request({
    url: '/system/home/newsPrice',
    method: 'get',
    params: query
  })
}

// 有图片
export function listnewsInfo(query) {
  return request({
    url: '/system/information/list',
    method: 'get',
    params: query
  })
}

export function reportList(query) {
  return request({
    url: '/system/report/list',
    method: 'get',
    params: query
  })
}